#!/bin/sh

while true
do
battery_percentage=$(cat /sys/class/power_supply/axp20x-battery/capacity)
time=$(date +%I:%M)

echo " $battery_percentage%   $time "
sleep 10
done
